import layoutHeaderAside from '@/layout/header-aside'

const meta = {auth: true}

export default {
    path: '/visual/codegen',
    name: 'codegen',
    meta,
    redirect: {name: 'visual-codegen'},
    component: layoutHeaderAside,
    children: (pre => [
        {
            path: 'codegen',
            name: `${pre}codegen`,
            component: () => import('@/pages/visual/codegen'),
            meta: {...meta, title: '代码生成器'}
        }
    ])('visual-')
}
